package com.dao;

import com.entity.Gainingmethod;
import com.entity.GainingmethodExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GainingmethodDao {
    long countByExample(GainingmethodExample example);

    int deleteByExample(GainingmethodExample example);

    int deleteByPrimaryKey(Integer gid);

    int insert(Gainingmethod record);

    int insertSelective(Gainingmethod record);

    List<Gainingmethod> selectByExample(GainingmethodExample example);

    Gainingmethod selectByPrimaryKey(Integer gid);

    int updateByExampleSelective(@Param("record") Gainingmethod record, @Param("example") GainingmethodExample example);

    int updateByExample(@Param("record") Gainingmethod record, @Param("example") GainingmethodExample example);

    int updateByPrimaryKeySelective(Gainingmethod record);

    int updateByPrimaryKey(Gainingmethod record);
}